package com.shiyan.demo.service.impl;

import com.shiyan.demo.beans.Employee;
import com.shiyan.demo.mapper.EmployeeMapper;
import com.shiyan.demo.service.EmployeeService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xieyuxin
 * @since 2018-08-31
 */
@Service
public class EmployeeServiceImpl extends ServiceImpl<EmployeeMapper, Employee> implements EmployeeService {


	@Resource
	private EmployeeMapper employeeMapper;
	
	@Override
	public Employee getByid(Integer id) {
		
		return employeeMapper.getByid(id);
	}

}
